# -*- coding: utf-8 -*-

from .base import BaseOdooException


class OdooParserException(BaseOdooException):
    # category
    # parser: 99
    category = 'Odoo-parser'

    # sub category:
    #   - generic.parser

    co_msg_mapping = {
        991001: {
            'message': 'code required',
            'http_code': 400,
            'sub_category': 'generic.parser',
        }
    }
